﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;

namespace Q_SMS.Response
{
    /// <summary>
    /// 回执基类
    /// </summary>
    public class SMSResult
    {
        /*{
         * "result": 0,
         * "errmsg": "OK", 
         * "ext": ""
         }*/
        /// <summary>
        /// 0表示成功(计费依据)，非0表示失败
        /// </summary>
        [JsonProperty("result")]
        public int Result { set; get; }
        /// <summary>
        /// result非0时的具体错误信息
        /// </summary>
        [JsonProperty("errmsg")]
        public string Errmsg { set; get; }


        public override string ToString()
        {
            return base.ToString();
        }
    }
}
